//- Copyright (c) 2016 Lucky Byte, Inc.
if notify.messages_send && notify.messages_send.length > 0
  .comment.notify.message
    .avatar
      i.big.icons
        i.icon.comment.outline.orange
        i.corner.icon.arrow.right.orange
    .content
      .author 已发留言
      .text 您有 <em>#{notify.messages_send.length} 条</em> 
        | 已发送的留言对方尚未查看 ...
      .actions
        a.reply(href="/message") 查看留言历史
        a.reply#expand(href="#") 显示详情

      table.ui.table.celled.small.very.basic
        thead
          th.center.aligned.collapsing 序号
          th.center.aligned.collapsing 留言时间
          th.center.aligned.collapsing 收信人
          th.center.aligned 留言内容
        tbody
          each message in notify.messages_send
            tr
              td.center.aligned.collapsing= message.serial
              td.center.aligned.collapsing
                = message.time.format('YYYY-MM-DD HH:mm:ss')
              td.center.aligned.collapsing= message.username
              if message.message.length > 45
                td #{message.message.substring(0, 45)} 
                  a(href="/message") ...
              else
                td= message.message
